using System;
using System.Collections;

namespace Arche.Collections
{
	public class Int32Enumerator
	{
		// Fields
		private IEnumerator baseEnumerator;
		private IEnumerable temp;

		// Methods
		internal Int32Enumerator(Int32Collection mappings)
		{
			this.temp = mappings;
			this.baseEnumerator = this.temp.GetEnumerator();
		}

		public bool MoveNext()
		{
			return this.baseEnumerator.MoveNext();
		}

		public void Reset()
		{
			this.baseEnumerator.Reset();
		}


		// Properties
		public int Current
		{
			get
			{
				return (int) this.baseEnumerator.Current;
			}
		}
	}
}
